package com.bcu.cn.onlineexamsystem.studentmanage.entity;

import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class Question {
    private Long questionId;
    private Long courseId;
    private String type; // choice/fill/essay
    private String content;
    private String options; // JSON格式存储选项
    private java.util.List<String> optionList; // 新增，供前端遍历
    private String answer;
    private BigDecimal score;
    private String teacherId;
    private LocalDateTime createTime;
} 